﻿@model Learnive.Models.LoginModel

@{
    ViewBag.Title = "Inloggen";
}

<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
</hgroup>

<section id="loginForm">
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

<div class="userTable" >
	<table >
		<tr> 
			<td> @Html.LabelFor(m => m.UserName)</td>
			<td>@Html.TextBoxFor(m => m.UserName)</td>
            <td>@Html.ValidationMessageFor(m => m.UserName)</td>
		</tr>
		<tr>
			<td> @Html.LabelFor(m => m.Password) </td>
			<td> @Html.PasswordFor(m => m.Password)</td>
            <td> @Html.ValidationMessageFor(m => m.Password)</td>
		</tr>
        <tr>
			<td> </td>
			<td>@Html.CheckBoxFor(m => m.RememberMe) @Html.LabelFor(m => m.RememberMe, new { @class = "checkbox" })</td>
            <td></td>
		</tr>
        <tr>
			<td> <input type="submit" value="Log in" /></td>
            <td></td>
            <td></td>
		</tr>
	</table>
    <p>
        @Html.ActionLink("Registeer", "Register") je hier als je geen account hebt.
    </p>
</div>
    
}
</section>